package com.welike.shibo.service;

import cn.jpush.api.push.model.PushPayload;
import com.google.gson.JsonObject;
import com.welike.shibo.eneity.PushBean;

/**
 * 极光推送
 * 封装第三方api相关
 * @author fangyu
 * @version v1.0.0
 * @since 2019-09-01 13:07
 */
public interface MyJPushService {

    boolean pushAll(PushBean pushBean);

    boolean pushIOS(PushBean pushBean);

    boolean pushIos(PushBean pushBean, Integer pushType, JsonObject jsonObject, String... registids);

    boolean pushAndroid(PushBean pushBean);

    boolean pushAndroid(PushBean pushBean, String... registids);

    boolean pushAndroid(PushBean pushBean, String tagId);

    boolean sendPush(PushPayload pushPayload);
}
